package com.imooc.o2o.service.impl;/**
 * @package: com.imooc.o2o.service.impl
 * @data: 2018/8/19
 * @author: 70918
 */

import com.imooc.o2o.dao.AreaDao;
import com.imooc.o2o.entity.Area;
import com.imooc.o2o.service.AreaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author     ：zglx
 * Date       ：Created in 1:30 2018/8/19
 * Description：TODO
 * version:     V1.0
 */
@Service
public class AreaServiceImpl implements AreaService {
    @Autowired
    private AreaDao areaDao;
    @Override
    public List<Area> getAreaList() {
        return areaDao.queryArea();
    }
}
